package com.shiliuzi.www.pojo.dto.revoke;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotNull;

@Data
@AllArgsConstructor
@NoArgsConstructor
public class RecordClassBanDto {

    /**
     * 1表示禁用，0表示开启
     */
    @NotNull
    @Range(min = 0, max = 1l)
    private Integer choose;

    /**
     * 类型id
     */
    @NotNull
    private Integer typeId;
}
